package com.pzhu.gmall.manage.controller;

import org.springframework.web.bind.annotation.*;
import org.springframework.web.multipart.MultipartFile;

/**
 * @author 刘鹏 liupeng
 * @date 2019/10/31
 **/
@RestController
@CrossOrigin
@RequestMapping("/fileUpload")
public class FileController {
    @PostMapping
    public String fileUpload(@RequestParam("file") MultipartFile multipartFile)
    {
        return "https://wall.alphacoders.com/big.php?i=1007550&lang=Chinese";
    }
}
